home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
attraction.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
12KB
|
265 lines
XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((22222222----mmmmaaaarrrr----99993333)))) XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
NNNNAAAAMMMMEEEE
attraction - interactions of opposing forces
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
aaaattttttttrrrraaaaccccttttiiiioooonnnn [-display _h_o_s_t:_d_i_s_p_l_a_y._s_c_r_e_e_n] [-foreground
_c_o_l_o_r] [-background _c_o_l_o_r] [-window] [-root] [-mono]
[-install] [-visual _v_i_s_u_a_l] [-points _i_n_t] [-threshold _i_n_t]
[-mode balls | lines | polygons | splines | filled-splines |
tails ] [-color-mode cycle | random] [-size _i_n_t] [-segments
_i_n_t] [-delay _u_s_e_c_s] [-color-shift _d_e_g_r_e_e_s] [-radius _i_n_t]
[-vx _i_n_t] [-vy _i_n_t] [-glow] [-noglow] [-orbit]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _a_t_t_r_a_c_t_i_o_n program has several visually different modes
of operation, all of which are based on the interactions of
a set of control points which attract each other up to a
certain distance, and then begin to repel each other. The
attraction/repulsion is proportional to the distance between
any two particles.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
_a_t_t_r_a_c_t_i_o_n accepts the following options:
----wwwwiiiinnnnddddoooowwww Draw on a newly-created window. This is the
default.
----rrrrooooooootttt Draw on the root window.
----mmmmoooonnnnoooo If on a color display, pretend we're on a monochrome
display.
----iiiinnnnssssttttaaaallllllll
Install a private colormap for the window.
----vvvviiiissssuuuuaaaallll _v_i_s_u_a_l
Specify which visual to use. Legal values are the
name of a visual class, or the id number (decimal or
hex) of a specific visual.
----ppppooooiiiinnnnttttssss iiiinnnntttteeeeggggeeeerrrr
How many control points should be used, or 0 to
select the number randomly. Default 0. Between 3
and 15 works best.
----tttthhhhrrrreeeesssshhhhoooolllldddd iiiinnnntttteeeeggggeeeerrrr
The distance (in pixels) from each particle at which
the attractive force becomes repulsive. Default
100.
----mmmmooooddddeeee bbbbaaaallllllllssss |||| lllliiiinnnneeeessss |||| ppppoooollllyyyyggggoooonnnnssss |||| ttttaaaaiiiillllssss |||| sssspppplllliiiinnnneeeessss |||| ffffiiiilllllllleeeedddd----
sssspppplllliiiinnnneeeessss
In _b_a_l_l_s mode (the default) the control points are
Page 1 (printed 6/30/95)
XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((22222222----mmmmaaaarrrr----99993333)))) XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
drawn as filled circles. The larger the circle, the
more massive the particle.
In _l_i_n_e_s mode, the control points are connected by
straight lines; the effect is something like _q_i_x.
In _p_o_l_y_g_o_n_s mode, the control points are connected
by straight lines, and filled in. This is most
interesting in color.
In _s_p_l_i_n_e_s mode, a closed spline is interpolated
from the control points.
In _f_i_l_l_e_d-_s_p_l_i_n_e_s mode, the splines are filled in
instead of being outlines. This is most interesting
in color.
In _t_a_i_l_s mode, the path which each particle follows
is indicated by a worm-like trail, whose length is
controlled by the _s_e_g_m_e_n_t_s parameter.
----ccccoooolllloooorrrr----mmmmooooddddeeee ccccyyyycccclllleeee |||| rrrraaaannnnddddoooommmm
Whether colors should cycle through the spectrum, or
be picked randomly.
----ssssiiiizzzzeeee iiiinnnntttteeeeggggeeeerrrr
The size of the balls in pixels, or 0, meaning to
select the sizes randomly (the default.) If this is
specified, then all balls will be the same size.
This option has an effect in all modes, since the
``size'' of the balls controls their mass.
----sssseeeeggggmmmmeeeennnnttttssss iiiinnnntttteeeeggggeeeerrrr
If in _l_i_n_e_s or _p_o_l_y_g_o_n_s mode, how many sets of line
segments or polygons should be drawn. Default 100.
This has no effect in _b_a_l_l_s mode. If _s_e_g_m_e_n_t_s is 0,
then no segments will ever be erased (this is only
useful in color.)
----ddddeeeellllaaaayyyy mmmmiiiiccccrrrroooosssseeeeccccoooonnnnddddssss
How much of a delay should be introduced between
steps of the animation. Default 10000, or about
0.01 seconds.
----ccccoooolllloooorrrr----sssshhhhiiiifffftttt ddddeeeeggggrrrreeeeeeeessss
If on a color display, the color of the line
segments or polygons will cycle through the
spectrum. This specifies how far the hue of each
segment should be from the next, in degrees on the
HSV wheel. Default 3. This has no effect in _b_a_l_l_s
mode.
Page 2 (printed 6/30/95)
XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((22222222----mmmmaaaarrrr----99993333)))) XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
----rrrraaaaddddiiiiuuuussss The size in pixels of the circle on which the points
are initially positioned. The default is slightly
smaller than the size of the window.
----gggglllloooowwww This is consulted only in _b_a_l_l_s mode. If this is
specified, then the saturation of the colors of the
points will vary according to their current
acceleration. This has the effect that the balls
flare brighter when they are reacting to each other
most strongly.
In _g_l_o_w mode, all of the balls will be drawn the
same (random) color, modulo the saturation shifts.
In non-glow mode, the balls will each be drawn in a
random color that doesn't change.
----nnnnoooogggglllloooowwww Don't do ``glowing.'' This is the default.
----vvvvxxxx ppppiiiixxxxeeeellllssss
----vvvvyyyy ppppiiiixxxxeeeellllssss
Initial velocity of the balls. This has no effect
in ----oooorrrrbbbbiiiitttt mode.
----oooorrrrbbbbiiiitttt Make the initial force on each ball be tangential to
the circle on which they are initially placed, with
the right velocity to hold them in orbit about each
other. After a while, roundoff errors will cause
the orbit to decay.
----vvvvmmmmuuuulllltttt ffffllllooooaaaatttt
In orbit mode, the initial velocity of the balls is
multiplied by this; a number less than 1 will make
the balls pull closer together, and a larger number
will make them move apart. The default is 1,
meaning stability.
EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
DDDDIIIISSSSPPPPLLLLAAAAYYYY to get the default host and display number.
XXXXEEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
to get the name of a resource file that overrides
the global resources stored in the RESOURCE_MANAGER
property.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
XXXX(1), xxxxssssccccrrrreeeeeeeennnnssssaaaavvvveeeerrrr(1)
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
Copyright c 1992, 1993 by Jamie Zawinski. Permission to
use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without
Page 3 (printed 6/30/95)
XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((22222222----mmmmaaaarrrr----99993333)))) XXXXSSSSccccrrrreeeeeeeennnnSSSSaaaavvvveeeerrrr((((1111))))
fee, provided that the above copyright notice appear in all
copies and that both that copyright notice and this
permission notice appear in supporting documentation. No
representations are made about the suitability of this
software for any purpose. It is provided "as is" without
express or implied warranty.
AAAAUUUUTTTTHHHHOOOORRRR
Jamie Zawinski <jwz@mcom.com>, 13-aug-92.
Page 4 (printed 6/30/95)